import request from "@/utils/request.js";

/**
 * @param params
 * @returns {AxiosPromise}
 */
export function getTaskDetail(params) {
  return request({
    url: "/jk/TaskDetail",
    method: "post",
    data: params
  });
}

/**
 * @param params
 * @returns {AxiosPromise}
 */
export function GetResourceList(params) {
  return request({
    url: "/jk/GetResourceList",
    method: "post",
    data: params
  });
}

/**
 * @param params
 * @returns {AxiosPromise}
 */
export function SaveCandidate(params) {
  return request({
    url: "/jk/SaveCandidate?taskModel=" + JSON.stringify(params),
    method: "post"
    //data: params
  });
}
